package dare2date;

import java.awt.BorderLayout;
import java.awt.Container;

import javax.swing.JFrame;

public class AppFrame extends JFrame {
	
	private FormDetails formDetails;
	public AppFrame(String title){
		super(title);
		
		// set layout manager
		setLayout(new BorderLayout());
		formDetails = new FormDetails();
		
		// create swing component
		Container container = getContentPane();
		
		
		//add swing components to content page
		container.add(formDetails,BorderLayout.CENTER);
	}

}
